package com.maozw.feign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;


/**
 * 使用@EnableFeignClients开启Feign
 * @author MAOZW
 * @Description: ${UserFeignApplication}
 * @date 2018/8/9 11:20
 */
@EnableFeignClients
@EnableDiscoveryClient
@SpringBootApplication
public class UserFeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserFeignApplication.class,args);
    }
}
